-
Notifications
You must be signed in to change notification settings - Fork 4
MLE-24871: Update Library Versions for Operator 1.1 Release #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MLE-24871: Update Library Versions for Operator 1.1 Release #106
Conversation
…iner requests the NET_RAW capability
…d to run as the root user
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the MarkLogic Operator for the 1.1 release by upgrading Go to 1.24.9, updating Kubernetes client libraries to v0.34.1, controller-runtime to v0.22.3, and various other dependencies. It also addresses security vulnerabilities by adding runAsNonRoot: true to security contexts and includes code quality improvements such as removing unnecessary type conversions, simplifying variable declarations, handling ignored errors, and adding deprecation markers for unused functions.
Reviewed Changes
Copilot reviewed 27 out of 28 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates Go version and upgrades Kubernetes and controller-runtime dependencies |
| pkg/k8sutil/statefulset.go | Adds SecretName fallback logic with conditional assignment |
| pkg/k8sutil/service.go | Simplifies variable declarations by removing redundant type specifications |
| pkg/k8sutil/networkPolicy.go | Simplifies variable declaration and adds deprecation comment for unused function |
| pkg/k8sutil/marklogicServer.go | Handles previously ignored return values from result.Done() |
| pkg/k8sutil/ingress.go | Replaces loop-based append with variadic append and adds deprecation comment |
| pkg/k8sutil/haProxyHelper.go | Removes unnecessary int() type conversions and simplifies boolean comparison |
| pkg/k8sutil/haProxy.go | Adds error handling for patch calculation |
| internal/controller/*.go | Reorders imports to place standard library before third-party imports |
| config/manager/*.yaml | Adds runAsNonRoot: true security context setting |
| config/crd/bases/*.yaml | Updates CRD files with new controller-gen version and API documentation changes |
| charts/*.yaml | Updates version to 1.1.0 and adds security contexts |
| test/e2e/*.go | Removes unnecessary string() conversions and simplifies fmt.Sprintf usage |
| Makefile | Updates version to 1.1.0, Kubernetes version, and tooling versions |
| Dockerfile | Updates Go base image to 1.24.9 |
| .golangci.yml | Updates linter configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Also include the fix for MLE-24842: Security vulnerabilities in Operator